<template>
  <div id="app":style="bgImg">
    <router-view></router-view>
  </div>
</template> 
<script>
const url = require("./assets/bg2.jpg");
export default { 
  name: 'app',
  data() {
    return {
      bgImg: {
        backgroundImage: "url(" + url + ")",height:"600px"
      }
    };
  },
}
</script> 
<style>
body {
    margin: 0px;
    padding: 0px; 
    height: 100%;
    font-family: Helvetica Neue, Helvetica, PingFang SC, Hiragino Sans GB, Microsoft YaHei, SimSun, sans-serif;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
  } 
  #app {
    position: absolute;
    top: 0px;
    bottom: 0px;
    width: 100%;
    min-width: 1200px;
  } 
  .el-submenu [class^=fa] {
    vertical-align: baseline;
    margin-right: 10px;
  } 
  .el-menu-item [class^=fa] {
    vertical-align: baseline;
    margin-right: 10px;
  } 
   .toolbar {
    background: #fff;
    padding: 10px;
  } 
   .toolbar .el-form-item {
      margin-bottom: 10px;
    }
</style>
